package com.dahua.messagesyncsh.service;

import com.dahua.messagesyncsh.entity.Collection;
import com.dahua.messagesyncsh.entity.SensorData;
import com.dahua.messagesyncsh.pojo.CMode;
import com.dahua.messagesyncsh.pojo.EquipmentInfo;
import com.dahua.messagesyncsh.pojo.Feature;
import com.dahua.messagesyncsh.pojo.T485;
import com.dahua.messagesyncsh.rabbitmq.pojo.EqStatusMessage;

import java.util.List;

public interface ProcessorService {
    SensorData buildData(Feature feature, EquipmentInfo enquire, Collection collection);

    SensorData buildData(CMode cMode, EquipmentInfo enquire, Collection collection);

    void handleT485(List<T485> t485s);

    T485 convert2T485(EqStatusMessage eqStatusMessage);
}
